<% product.forEach(function(item) { %>
    <li class="product-item">
        <a href="<%= item.url %>">
            <img src="<%= item.imgUrl %>" alt="">
            <p><%= item.title %></p>
            <p>主讲老师：<%= item.teacher %>/学习人数：<%= item.num %>人</p>
            <p class="price"><%= item.price %></p>
        </a>
    </li>
<% }) %>

<!-- product: [
    {
        url: 'javascript:;',
        imgUrl: require('../../img/product-item-1.png'),
        title: '2018执业药师考试药学专业知识一',
        teacher: '白洁',
        num: '2135',
        price: '免费'
    }
] -->